MIXED_FIT: A SAS Macro to Assess Model Fit and Adequacy for Two-Level Linear Models

نویسندگان

  • Mihaela Ene
  • Bethany A. Bell
چکیده

As multilevel models (MLMs) are useful in understanding relationships existent in hierarchical data structures, these models have started to be used more frequently in research developed in social and health sciences. In order to draw meaningful conclusions from MLMs, researchers need to make sure that the model fits the data. Model fit, and thus, ultimately model selection can be assessed by examining changes in several fit indices across nested and/or nonnested models [e.g., -2 log likelihood (-2LL), Akaike Information Criterion (AIC), and Schwarz’s Bayesian Information Criterion (BIC)]. In addition, the difference in pseudo-R 2 is often used to examine the practical significance between two nested models. Considering the importance of using all of these measures when determining model selection, researchers who use analyze multilevel models would benefit from being able to easily assess model fit across estimated models. Whereas SAS PROC MIXED produces the -2LL, AIC, and BIC, it does not provide the actual change in these fit indices or the change in pseudo-R 2 between different nested and non-nested models. In order to make this information more attainable, Bardenheier (2009) developed a macro that allowed researchers using PROC MIXED to obtain the test statistic for the difference in -2LL along with the p-value of the Likelihood Ratio Test (LRT). As an extension of Bardenheier’s work, this paper provides a comprehensive SAS macro that incorporates changes in model fit statistics (-2LL, AIC and BIC) as well as change in pseudo-R 2 . By utilizing data from PROC MIXED ODS tables, the macro produces a comprehensive table of changes in model fit measures. Thus, this expanded macro allows SAS users to examine model fit in both nested and non-nested models and both in terms of statistical and practical significance. This paper provides a review of the different methods used to assess model fit in multilevel analysis, the macro programming language, an executed example of the macro, and a copy of the complete macro.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

255-2013: MIXED_FIT: A SAS® Macro to Assess Model Fit and Adequacy for Two-Level Linear Models

When estimating multilevel models it is important for researchers to make sure their models fit their data. However, examining model fit can be quite cumbersome. We have developed the macro MIXED_FIT to help researchers assess model fit in a simple yet comprehensive way. Specifically, this paper provides a SAS macro that incorporates changes in model fit statistics [i.e., -2 log likelihood (-2L...

متن کامل

An Intermediate Primer to Estimating Linear Multilevel Models using SAS PROC MIXED

This paper expands upon Bell et al.’s (2013) “A Multilevel Model Primer Using SAS PROC MIXED” in which we presented an overview of estimating two and three-level linear models via PROC MIXED. However, in our earlier paper, we, for the most part, relied on simple options available in PROC MIXED. In this paper, we present a more advanced look at common PROC MIXED options used in the analysis of s...

متن کامل

A Macro for Computing a Goodness of Fit Statistic for Linear Mixed Models

In the SAS System, PROC MIXED offers users the possibility to perform analysis of complex data where assumptions of traditional analysis of variance (ANOVA) methods such as homogeneity of variance or independence of error terms might be violated. Thus, this procedure can be used to analyze data where the observations are assumed to come from a normal distribution but are correlated such as in l...

متن کامل

A Smoothed Residual Based Goodness-of-fit Statistic for Nest-survival Models

Estimating nest success and identifying important factors related to nest-survival rates is an essential goal for many wildlife researchers interested in understanding avian population dynamics. Advances in statistical methods have led to a number of estimation methods and approaches to modeling this problem. Recently developed models allow researchers to include a covariate that varies by indi...

متن کامل

Conducting Tetrad Tests of Model Fit and Contrasts of Tetrad-Nested Models: A New SAS Macro

This article describes a SAS macro to assess model fit of structural equation models by employing a test of the model-implied vanishing tetrads. Use of this test has been limited in the past, in part due to the lack of software that fully automates the test in a user-friendly way. The current SAS macro provides a straightforward method for researchers touse thevanishing tetrads impliedbymodels ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012